<template>
  <view class="demo">
    <navigator url="/pages/login/login">跳转到登录</navigator>
  </view>
  <view class="demo-page">
    <button type="primary" @click="opencitysearchPage">跳转到城市探索</button>
  </view>
  <view class="demo-page">
    <button type="primary" @click="openCardViewText">跳转cardViewText.vue</button>
  </view>
</template>

<script>
export default {
  methods: {
    openLoginPage() {
      uni.reLaunch({
        url: '/pages/login/login'
      });
    },
	opencitysearchPage() {
	  uni.reLaunch({
	    url: '/pages/citysearch/citysearch/citysearch'
	  });
	},
	opencitysearchPage() {
	  uni.reLaunch({
	    url:''
	  });
	}
  }
}
</script>

<style>
.demo{
	padding: 20px;
}
.demo-page {
  padding: 20rpx;
}
</style>